package com.zfzs.post.modules.goods.service;

import com.zfzs.post.modules.goods.service.dto.GoodOrderQueryCriteria;
import com.zfzs.post.modules.goods.service.dto.HandleOrderDTO;

import java.util.Map;

/**
 * @author wq
 * @date 2019/11/19 20:22
 * @description
 */
public interface GoodsOrderWebService {
    /**
     * 分页查询
     * @param criteria
     * @param page
     * @param size
     * @return
     */
    Map<String, Object> getGoodsOrderPage(GoodOrderQueryCriteria criteria, Integer page, Integer size);

    /**
     * 处理订单
     * @param dto
     */
    void handleOrder(HandleOrderDTO dto);

    /**
     * 查询订单详情（地址
     * @param orderId
     * @return
     */
    Map<String, Object> queryOrderInfo(Integer orderId);
}
